package example.demo.route.aop;

public class RouteContext {

    public static final ThreadLocal<Integer[]> tables_thread_local
            = new ThreadLocal<>();

    public static final ThreadLocal<Integer[]> tableIdxs_thread_local
            = new ThreadLocal<>();


    /**
     * 我这里不可以靠后置增强去remove，要不然就会有空指针异常
     */
    public static void removeAll() {
        tableIdxs_thread_local.remove();
        tables_thread_local.remove();
    }
}
